Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.ecm.multi.tenant.actions--actions

This contribution is part of XML component org.nuxeo.ecm.multi.tenant.actions inside nuxeo-multi-tenant-jsf-10.10-HF21.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point actions of component ActionService.

Registration Order

40
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <action id="TenantAdministration" label="label.multi.tenant.isolation" link="/incl/tenant/tenant_administration.xhtml" order="150" type="admin_rest_document_link">
          <category>NUXEO_ADMIN</category>
          <filter-id>only_for_manager</filter-id>
        </action>
  • <action id="TAB_MANAGE">
          <filter-id>denyForTenantConfig</filter-id>
        </action>
  • <action id="TAB_PERMISSIONS">
          <filter-id>denyForTenantConfig</filter-id>
        </action>
  • <action id="TAB_CONTENT_HISTORY">
          <filter-id>denyForTenantConfig</filter-id>
        </action>
  • <action icon="/icons/file.gif" id="TAB_TENANT_ADMINISTRATION" label="action.view.manage" order="240" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>manage</filter-id>
          <filter-id>allowForTenantConfig</filter-id>
          <filter id="TAB_TENANT_ADMINISTRATION_has_subtabs">
            <rule grant="false">
              <condition>
                #{webActions.getActionsList('TAB_TENANT_ADMINISTRATION_sub_tab').isEmpty()}
              </condition>
            </rule>
          </filter>
          <properties>
            <property name="ajaxSupport">true</property>
            <property name="link">/incl/tabs/document_manage.xhtml</property>
          </properties>
        </action>
  • <action icon="/icons/file.gif" id="TAB_TENANT_CONFIGURATION" label="label.tenant.configuration" link="/incl/tabs/tenant_configuration.xhtml" order="40">
          <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
          <filter-id>tenantAdministrators</filter-id>
          <filter-id>allowForTenantConfig</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/file.gif" id="TAB_TENANT_RIGHTS" label="action.view.rights" link="/incl/tabs/document_rights.xhtml" order="50">
          <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
          <filter-id>rights</filter-id>
          <filter-id>tenantAdministrators</filter-id>
          <filter-id>allowForTenantConfig</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/file.gif" id="TAB_TENANT_LOCAL_CONFIGURATION" label="action.view.local.configuration" link="/incl/tabs/local_configuration.xhtml" order="70">
          <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
          <filter-id>has_local_configuration_available</filter-id>
          <filter-id>tenantAdministrators</filter-id>
          <filter-id>allowForTenantConfig</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/file.gif" id="TAB_TENANT_HISTORY" label="action.view.tenant.history" link="/incl/tabs/tenant_history.xhtml" order="100">
          <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
          <filter-id>tenantAdministrators</filter-id>
          <filter-id>allowForTenantConfig</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/file.gif" id="TAB_TENANT_TRASH_CONTENT" label="action.view.trash.content" link="/incl/tabs/document_trash_content.xhtml" order="200">
          <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
          <filter-id>allowForTenantConfig</filter-id>
          <filter-id>tenantAdministrators</filter-id>
          <filter id="viewTrash">
            <rule grant="true">
              <permission>Manage everything</permission>
              <facet>Folderish</facet>
              <condition>#{deleteActions.trashManagementEnabled}</condition>
            </rule>
          </filter>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <!-- Admin Center -->
    <action id="TenantAdministration" label="label.multi.tenant.isolation" link="/incl/tenant/tenant_administration.xhtml" order="150" type="admin_rest_document_link">
      <category>NUXEO_ADMIN</category>
      <filter-id>only_for_manager</filter-id>
    </action>

    <!-- Hide Manage tab for tenants -->
    <action id="TAB_MANAGE">
      <filter-id>denyForTenantConfig</filter-id>
    </action>
    <!-- Hide Permissions tab for tenants -->
    <action id="TAB_PERMISSIONS">
      <filter-id>denyForTenantConfig</filter-id>
    </action>

    <action id="TAB_CONTENT_HISTORY">
      <filter-id>denyForTenantConfig</filter-id>
    </action>

    <!-- Tenant Administration tabs -->
    <action icon="/icons/file.gif" id="TAB_TENANT_ADMINISTRATION" label="action.view.manage" order="240" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>manage</filter-id>
      <filter-id>allowForTenantConfig</filter-id>
      <filter id="TAB_TENANT_ADMINISTRATION_has_subtabs">
        <rule grant="false">
          <condition>
            #{webActions.getActionsList('TAB_TENANT_ADMINISTRATION_sub_tab').isEmpty()}
          </condition>
        </rule>
      </filter>
      <properties>
        <property name="ajaxSupport">true</property>
        <property name="link">/incl/tabs/document_manage.xhtml</property>
      </properties>
    </action>

    <action icon="/icons/file.gif" id="TAB_TENANT_CONFIGURATION" label="label.tenant.configuration" link="/incl/tabs/tenant_configuration.xhtml" order="40">
      <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
      <filter-id>tenantAdministrators</filter-id>
      <filter-id>allowForTenantConfig</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/file.gif" id="TAB_TENANT_RIGHTS" label="action.view.rights" link="/incl/tabs/document_rights.xhtml" order="50">
      <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
      <filter-id>rights</filter-id>
      <filter-id>tenantAdministrators</filter-id>
      <filter-id>allowForTenantConfig</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/file.gif" id="TAB_TENANT_LOCAL_CONFIGURATION" label="action.view.local.configuration" link="/incl/tabs/local_configuration.xhtml" order="70">
      <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
      <filter-id>has_local_configuration_available</filter-id>
      <filter-id>tenantAdministrators</filter-id>
      <filter-id>allowForTenantConfig</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/file.gif" id="TAB_TENANT_HISTORY" label="action.view.tenant.history" link="/incl/tabs/tenant_history.xhtml" order="100">
      <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
      <filter-id>tenantAdministrators</filter-id>
      <filter-id>allowForTenantConfig</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/file.gif" id="TAB_TENANT_TRASH_CONTENT" label="action.view.trash.content" link="/incl/tabs/document_trash_content.xhtml" order="200">
      <category>TAB_TENANT_ADMINISTRATION_sub_tab</category>
      <filter-id>allowForTenantConfig</filter-id>
      <filter-id>tenantAdministrators</filter-id>
      <filter id="viewTrash">
        <rule grant="true">
          <permission>Manage everything</permission>
          <facet>Folderish</facet>
          <condition>#{deleteActions.trashManagementEnabled}</condition>
        </rule>
      </filter>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

  </extension>